package com.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 保存微信公众平台菜单
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisWxMenu对象", description = "保存微信公众平台菜单")
public class THisWxMenu {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医院id")
    private Integer hospitalId;

    @ApiModelProperty(value = "主菜单ID")
    private Integer pid;

    @ApiModelProperty(value = "菜单的响应动作类型")
    private String type;

    @ApiModelProperty(value = "菜单标题，不超过16个字节，子菜单不超过60个字节")
    private String name;

    @ApiModelProperty(value = "菜单KEY值，用于消息接口推送，不超过128字节")
    private String key;

    @ApiModelProperty(value = "网页链接，用户点击菜单可打开链接，不超过1024字节。")
    private String url;

    @ApiModelProperty(value = "调用新增永久素材接口返回的合法media_id")
    private String mediaId;

    private String appid;

    @ApiModelProperty(value = "小程序的页面路径")
    private String pagepath;

    @ApiModelProperty(value = "排序 ASC")
    private Integer listorder;


}
